<?php
/*
 * [佳喜网络!] (C)2008-2009 JiaXi Inc.
 * $Id: include.php 2008-8-13 19:28:02 pepsi.zh $
 * -------------------------------------------
 * 网址：www.he88.cn
 * -------------------------------------------
 * 这是一个共享软件，遵循我们公司的共享协议。
*/
include_once('include/include.php');

$outvar[contenttitle] = '站点列表';

c_create::createClass('site');
$site = new site();
if ($_GET[did]){
	if ($site->deleteRecord($_GET[did],TRUE,$_SESSION[userId])){
		$_SESSION[showtip] = '网站删除成功！';
	}else{
		$_SESSION[showtip] = '网站删除失败！';
	}
}

$outvar[record] = $site->getRecord($_SESSION[userId],true,false);
$outvar[filename] = PHP_SELF_NAME;

setnavi(2);
$outvar[includeT] = 'member/site_list';
outFile('member/main');
?>